package _23_menmian_pattern.v2_0;

/**
 * @Description: 写信过程实现
 * @Auther: 2019/6/6 16:34 by zhang.jy
 */
public class LetterProcessImpl implements ILetterProcess {
	//写信
	@Override
	public void writeContext(String context) {
		System.out.println("填写信的内容..." + context);
	}

	//在信封上填写必要的信息
	@Override
	public void fillEnvelope(String address) {
		System.out.println("填写收件人地址及姓名..." + address);
	}

	//把信放到信封中，并封好
	@Override
	public void letterInotoEnvelope() {
		System.out.println("把信放到信封中...");
	}

	//塞到邮箱中，邮递
	@Override
	public void sendLetter() {
		System.out.println("邮递信件...");
	}
}